# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=pafish
pkgver=193.b497899
pkgrel=1
pkgdesc='A demonstration tool that employs several techniques to detect sandboxes and analysis environments in the same way as malware families do.'
url='http://www.hoobie.net/pafish/'
groups=('blackarch' 'blackarch-windows')
license=('GPL3')
arch=('any')
makedepends=('git')
source=("git+https://github.com/a0rtega/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
  cd $pkgname

  echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd $pkgname

  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

